

<div class="respotbs twoColTab" style="display: block; width: 100%; margin: 0px;">
<ul class="resp-tabs-list">
    <li class="resp-tab-item resp-tab-active" aria-controls="tab_item-0" role="tab">Premium Listings</li>
    <?php if(Comments::getModule('review')){?>
    <li class="resp-tab-item" aria-controls="tab_item-1" role="tab">Review</li>
    <?php }?>
</ul>
<?= HMVC::get('Banner::widget.banner@tabindex', array($page = 1, $no = 3)); ?>

<div class="resp-tabs-container">
    <div class="resp-tab-content  resp-tab-content-active resp-accordion-closed" aria-labelledby="tab_item-0">

        <?php foreach($featured as $featured):?>
        <div class="row clearfix">
            <div class="col-md-3">
                <img class="img-responsive" src="<?= URL::base();?>/storage/uploads/logos/<?= $featured->logo;?>" alt="">
            </div>
            <div class="col-md-6">
                <h1><a href="<?= Url::base();?>/<?= Commoncall::postLink($featured->id);?>"><?= Str::title($featured->title);?><?= $featured->id;?></a></h1>
                <h4 class="thin"><?= ($featured->address1 ? $featured->address1 : null) ;?></h4>
                <p class="thin"><?= ($featured->address2 ? ', '.$featured->address2 : null) ;?></p>
                <p class="thin">
                    <?php foreach(Terms::location($featured->id) as $loc):?>
                        <a href="<?= Url::base();?>/<?= Locations::find($loc->value)->slug;?>"><?= Locations::find($loc->value)->name;?>, </a>
                    <?php endforeach;?>
                </p>

                <p class="thin">
                    <?php foreach(Terms::category($featured->id) as $cat):?>
                        <a href="<?= Url::base();?>/<?= Str::slug(Location::get());?>/<?= Categories::find($cat->value)->slug;?>" class="text-warning"><?= Categories::find($cat->value)->name;?>,</a>
                    <?php endforeach;?>
                </p>
                <p class="thin small">
                    <?= Str::limit($featured->meta_description,150);?>
                </p>
            </div>
            <div class="col-md-3">
                <h3 class="text-right"><?= trim($featured->phone1);?></h3>

            </div>
        </div>
        <?php endforeach;?>
    </div>

 <?php if(Comments::getModule('review')){?>
    <div class="resp-tab-content" aria-labelledby="tab_item-1">
    <?= HMVC::get('Comments::index@index');?>
   </div>
   <?php }?>
</div>
<div>
</div>
</div>

<!-- tab -->


